package com.baizhi.hospital.service.impl;

import com.baizhi.hospital.annotation.LogAnnotation;
import com.baizhi.hospital.dao.CategoryDao;
import com.baizhi.hospital.entity.TreeNode;
import com.baizhi.hospital.service.CategoryService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements CategoryService {
    @Autowired(required = false)
    private CategoryDao categoryDao;
    @Override

    public List<TreeNode> selectCategoryTree() {

        return categoryDao.selectCategoryTree();
    }
}
